package com.sinosoft.msf.base.supplier.pojo.entity;

import lombok.Data;
import org.apache.ibatis.type.JdbcType;
import tk.mybatis.mapper.annotation.ColumnType;

import javax.persistence.*;
import java.util.Date;

@Data
@Table(name = "s_company_info_modifying")
public class SCompanyInfoModifying {
    /**
     * 供应商id
     */
    @Id
    private String id;
    /**
     * 供应商id
     */
    @Column(name = "buss_id")
    private String bussId;

    /**
     * 公司名称
     */
    private String name;

    /**
     * 法人代表
     */
    @Column(name = "legal_person")
    private String legalPerson;

    /**
     * 最终受益人
     */
    private String benefiter;

    /**
     * 经营状态
     */
    @Column(name = "operate_status")
    private String operateStatus;

    /**
     * 统一社会信用代码
     */
    @Column(name = "social_credit_code")
    private String socialCreditCode;

    /**
     * 注册地址
     */
    @Column(name = "registered_address")
    private String registeredAddress;

    /**
     * 营业执照起止日期 - 开始日期
     */
    @Column(name = "license_start_date")
    @ColumnType(jdbcType=JdbcType.TIMESTAMP)
    private Date licenseStartDate;

    /**
     * 营业执照起止日期 - 结束日期
     */
    @Column(name = "license_end_date")
    @ColumnType(jdbcType=JdbcType.TIMESTAMP)
    private Date licenseEndDate;

    /**
     * 许可证起止日期 - 开始日期
     */
    @Column(name = "permit_start_date")
    @ColumnType(jdbcType=JdbcType.TIMESTAMP)
    private Date permitStartDate;

    /**
     * 许可证起止日期 - 结束日期
     */
    @Column(name = "permit_end_date")
    @ColumnType(jdbcType=JdbcType.TIMESTAMP)
    private Date permitEndDate;

    /**
     * 最近一次查询天眼查时间
     */
    @Column(name = "last_search_time")
    @ColumnType(jdbcType=JdbcType.TIMESTAMP)
    private Date lastSearchTime;

    /**
     * 股权穿透图
     */
    @Column(name = "shareholder_chart")
    private String shareholderChart;

    /**
     * 是否参与过我司项目
     */
    @Column(name = "join_in_flag")
    private String joinInFlag;

    /**
     * 参与次数
     */
    @Column(name = "join_count")
    private String joinCount;

    /**
     * 参与金额
     */
    @Column(name = "join_amount")
    private String joinAmount;

    /**
     * 是否有行业排名
     */
    @Column(name = "has_ranking")
    private String hasRanking;

    /**
     * 行业领域
     */
    @Column(name = "industry_field")
    private String industryField;

    /**
     * 排名位置
     */
    @Column(name = "ranking_position")
    private String rankingPosition;

    /**
     * 供应商承接范围分类
     */
    @Column(name = "supplier_scope_cat")
    private String supplierScopeCat;

    /**
     * 行政处罚
     */
    @Column(name = "admin_punish")
    private String adminPunish;
    /**
     * 行政处罚明细
     */
    @Column(name = "admin_punish_detail")
    private String adminPunishDetail;
    /**
     * 欠税数量
     */
    @Column(name = "own_tax")
    private String ownTax;
    @Column(name = "own_tax_detail")
    private String ownTaxDetail;
    @Column(name = "supplier_scope_input")
    private String supplierScopeInput;

    /**
     * 经营异常名录
     */
    @Column(name = "operate_abnormal_list")
    private String operateAbnormalList;

    /**
     * 违法失信黑名单
     */
    @Column(name = "black_list")
    private String blackList;

    /**
     * 提交类型
     */
    @Column(name = "submit_type")
    private String submitType;

    /**
     * 首次提交时间
     */
    @Column(name = "first_submit_time")
    @ColumnType(jdbcType=JdbcType.TIMESTAMP)
    private Date firstSubmitTime;

    /**
     * 最近修改时间
     */
    @Column(name = "last_modify_time")
    @ColumnType(jdbcType=JdbcType.TIMESTAMP)
    private Date lastModifyTime;

    /**
     * 当前状态 暂存：STG；待审核：WA；审核通过：PASS；审核不通过：NO；系统审核不通过：SNO；法务审核通过：LGPASS；法务审核不通过：LGNO；管理员审核不通过：ADNO；已撤回：WC
     */
    private String state;

    /**
     * 修改信息表
     */
    @Column(name = "mod_id")
    private String modId;

    /**
     * 管理员审核记录
     */
    @Column(name = "admin_audit_id")
    private String adminAuditId;

    /**
     * 法务审核记录
     */
    @Column(name = "legal_audit_id")
    private String legalAuditId;

    /**
     * 删除标记
     */
    private String deleted;

    /**
     * 修改标记
     */
    private String modified;

    /**
     * 创建人
     */
    @Column(name = "created_id")
    private String createdId;

    /**
     * 创建时间
     */
    @Column(name = "created_date")
    @ColumnType(jdbcType=JdbcType.TIMESTAMP)
    private Date createdDate;

    /**
     * 更新人
     */
    @Column(name = "update_id")
    private String updateId;
    /**
     * 资质详情
     */
    @Column(name = "permit_detail")
    private String permitDetail;

    /**
     * 更新时间
     */
    @Column(name = "update_date")
    @ColumnType(jdbcType=JdbcType.TIMESTAMP)
    private Date updateDate;

    /**
     * 天眼查ID
     */
    @Column(name = "req_id")
    private String reqId;
    /**
     * 授权书有效期
     */
    @Column(name = "auth_letter_effect_date")
    private String authLetterEffectDate;
    /**
     * 资格证是否有效期内
     */
    @Column(name = "permit_in_date")
    private String permitInDate;
    /**
     * 管理员审核人
     */
    @Column(name = "admin_audit_user")
    private String adminAuditUser;
    /**
     * 法务审核人
     */
    @Column(name = "legal_audit_user")
    private String legalAuditUser;
    /**
     * 天眼查ID
     */
    @Column(name = "tyc_com_id")
    private String tycComId;
    /**
     * 标记状态
     */
    @Column(name = "mark_status")
    private String markStatus;
//    /**
//     * 停用时间周期
//     */
//    @Column(name = "mark_stop_date")
//    private String markStopDate;
//    /**
//     * 标记审核id
//     */
//    @Column(name = "mark_audit_id")
//    private String markAuditId;
//    /**
//     * 标记备注
//     */
//    @Column(name = "mark_notes")
//    private String markNotes;
    /**
     * 标记id
     */
    @Column(name = "mark_id")
    private String markId;
    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getLegalPerson() {
        return legalPerson;
    }

    public void setLegalPerson(String legalPerson) {
        this.legalPerson = legalPerson;
    }

    public String getBenefiter() {
        return benefiter;
    }

    public void setBenefiter(String benefiter) {
        this.benefiter = benefiter;
    }

    public String getOperateStatus() {
        return operateStatus;
    }

    public void setOperateStatus(String operateStatus) {
        this.operateStatus = operateStatus;
    }

    public String getSocialCreditCode() {
        return socialCreditCode;
    }

    public void setSocialCreditCode(String socialCreditCode) {
        this.socialCreditCode = socialCreditCode;
    }

    public String getRegisteredAddress() {
        return registeredAddress;
    }

    public void setRegisteredAddress(String registeredAddress) {
        this.registeredAddress = registeredAddress;
    }

    public Date getLicenseStartDate() {
        return licenseStartDate;
    }

    public void setLicenseStartDate(Date licenseStartDate) {
        this.licenseStartDate = licenseStartDate;
    }

    public Date getLicenseEndDate() {
        return licenseEndDate;
    }

    public void setLicenseEndDate(Date licenseEndDate) {
        this.licenseEndDate = licenseEndDate;
    }

    public Date getPermitStartDate() {
        return permitStartDate;
    }

    public void setPermitStartDate(Date permitStartDate) {
        this.permitStartDate = permitStartDate;
    }

    public Date getPermitEndDate() {
        return permitEndDate;
    }

    public void setPermitEndDate(Date permitEndDate) {
        this.permitEndDate = permitEndDate;
    }

    public Date getLastSearchTime() {
        return lastSearchTime;
    }

    public void setLastSearchTime(Date lastSearchTime) {
        this.lastSearchTime = lastSearchTime;
    }

    public String getShareholderChart() {
        return shareholderChart;
    }

    public void setShareholderChart(String shareholderChart) {
        this.shareholderChart = shareholderChart;
    }

    public String getJoinInFlag() {
        return joinInFlag;
    }

    public void setJoinInFlag(String joinInFlag) {
        this.joinInFlag = joinInFlag;
    }

    public String getJoinCount() {
        return joinCount;
    }

    public void setJoinCount(String joinCount) {
        this.joinCount = joinCount;
    }

    public String getJoinAmount() {
        return joinAmount;
    }

    public void setJoinAmount(String joinAmount) {
        this.joinAmount = joinAmount;
    }

    public String getHasRanking() {
        return hasRanking;
    }

    public void setHasRanking(String hasRanking) {
        this.hasRanking = hasRanking;
    }

    public String getIndustryField() {
        return industryField;
    }

    public void setIndustryField(String industryField) {
        this.industryField = industryField;
    }

    public String getRankingPosition() {
        return rankingPosition;
    }

    public void setRankingPosition(String rankingPosition) {
        this.rankingPosition = rankingPosition;
    }

    public String getSupplierScopeCat() {
        return supplierScopeCat;
    }

    public void setSupplierScopeCat(String supplierScopeCat) {
        this.supplierScopeCat = supplierScopeCat;
    }

    public String getAdminPunish() {
        return adminPunish;
    }

    public void setAdminPunish(String adminPunish) {
        this.adminPunish = adminPunish;
    }

    public String getOperateAbnormalList() {
        return operateAbnormalList;
    }

    public void setOperateAbnormalList(String operateAbnormalList) {
        this.operateAbnormalList = operateAbnormalList;
    }

    public String getBlackList() {
        return blackList;
    }

    public void setBlackList(String blackList) {
        this.blackList = blackList;
    }

    public String getSubmitType() {
        return submitType;
    }

    public void setSubmitType(String submitType) {
        this.submitType = submitType;
    }

    public Date getFirstSubmitTime() {
        return firstSubmitTime;
    }

    public void setFirstSubmitTime(Date firstSubmitTime) {
        this.firstSubmitTime = firstSubmitTime;
    }

    public Date getLastModifyTime() {
        return lastModifyTime;
    }

    public void setLastModifyTime(Date lastModifyTime) {
        this.lastModifyTime = lastModifyTime;
    }

    public String getState() {
        return state;
    }

    public void setState(String state) {
        this.state = state;
    }

    public String getModId() {
        return modId;
    }

    public void setModId(String modId) {
        this.modId = modId;
    }

    public String getAdminAuditId() {
        return adminAuditId;
    }

    public void setAdminAuditId(String adminAuditId) {
        this.adminAuditId = adminAuditId;
    }

    public String getLegalAuditId() {
        return legalAuditId;
    }

    public void setLegalAuditId(String legalAuditId) {
        this.legalAuditId = legalAuditId;
    }

    public String getDeleted() {
        return deleted;
    }

    public void setDeleted(String deleted) {
        this.deleted = deleted;
    }

    public String getModified() {
        return modified;
    }

    public void setModified(String modified) {
        this.modified = modified;
    }

    public String getCreatedId() {
        return createdId;
    }

    public void setCreatedId(String createdId) {
        this.createdId = createdId;
    }

    public Date getCreatedDate() {
        return createdDate;
    }

    public void setCreatedDate(Date createdDate) {
        this.createdDate = createdDate;
    }

    public String getUpdateId() {
        return updateId;
    }

    public void setUpdateId(String updateId) {
        this.updateId = updateId;
    }

    public Date getUpdateDate() {
        return updateDate;
    }

    public void setUpdateDate(Date updateDate) {
        this.updateDate = updateDate;
    }

    public String getAdminPunishDetail() {
        return adminPunishDetail;
    }

    public void setAdminPunishDetail(String adminPunishDetail) {
        this.adminPunishDetail = adminPunishDetail;
    }

    public String getOwnTax() {
        return ownTax;
    }

    public void setOwnTax(String ownTax) {
        this.ownTax = ownTax;
    }

    public String getOwnTaxDetail() {
        return ownTaxDetail;
    }

    public void setOwnTaxDetail(String ownTaxDetail) {
        this.ownTaxDetail = ownTaxDetail;
    }

    public String getSupplierScopeInput() {
        return supplierScopeInput;
    }

    public void setSupplierScopeInput(String supplierScopeInput) {
        this.supplierScopeInput = supplierScopeInput;
    }

    public String getPermitDetail() {
        return permitDetail;
    }

    public void setPermitDetail(String permitDetail) {
        this.permitDetail = permitDetail;
    }

    public String getBussId() {
        return bussId;
    }

    public void setBussId(String bussId) {
        this.bussId = bussId;
    }

    public String getReqId() {
        return reqId;
    }

    public void setReqId(String reqId) {
        this.reqId = reqId;
    }

    public String getAuthLetterEffectDate() {
        return authLetterEffectDate;
    }

    public void setAuthLetterEffectDate(String authLetterEffectDate) {
        this.authLetterEffectDate = authLetterEffectDate;
    }
}